/*
 * 作者：姚俊
 * 功能：修改密码之前跳转的页面，为了获取当前的用户名
 * 日期：2015-05-27
 */
package admin.action.baseInfo;

import com.opensymphony.xwork2.ActionContext;

import teacher.bean.Teacher;

public class ReMendInfoAction {
	
	private Teacher teacher;

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	
	
	public String execute()
	{
		
		this.setTeacher((Teacher)ActionContext.getContext().getSession().get("admin"));
		return "succ";
	}

}
